<template>
  <div class="cart-none">
    <img alt="" src="../../assets/images/none.png">
    <p>购物车内展示没有商品</p>
    <XtxButton type="primary" @click="$router.push('/')">继续逛逛</XtxButton>
  </div>
</template>

<script>
import XtxButton from '@/components/library/XtxButton'

export default {
  name: 'CartNone',
  components: { XtxButton }
}
</script>

<style lang="less" scoped>
.cart-none {
  height: 556px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  img {
    width: 180px;
  }

  p {
    color: #999999;
    margin: 20px 0;
  }
}
</style>
